package com.hxzy.framework.common.exception;

import lombok.Data;

/**
 * 自定义异常
 * @author 11452
 */
@Data
public class SaasApiException extends RuntimeException{

    public Integer code;

    public String msg;
    public SaasApiException() {
        super();
    }

    public SaasApiException(String message) {
        super(message);
    }

    public SaasApiException(String message, Throwable cause) {
        super(message, cause);
    }

    public SaasApiException(Throwable cause) {
        super(cause);
    }

    protected SaasApiException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }



}
